package com.hzlx.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class MessageHandler {
    @EventListener
    public void handler(String message){
        log.info("MessageHandler收到："+message);
    }
}
